home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 4.iso
/
src
/
swtools
/
trubasic
/
rolldemos
/
chooser
/
setup2.tru
< prev
next >
Wrap
Text File
|
1994-08-02
|
1KB
|
50 lines
external
module sg
DECLARE PUBLIC rgbpts(,),rgbtxt$()
DECLARE PUBLIC ippts(,),iptxt$()
sub setup2
! rgb init
let binc=.15
let rgbtxt$(1)="Dance Demo"
let rgbtxt$(2)="Unfold Demo"
let rgbtxt$(3)="About Colors"
let xspace=.2
let xoff=.25
let yoff=.28
let u=ubound(rgbpts,1)
for i=1 to u
let rgbpts(i,1)=xoff
let rgbpts(i,2)=rgbpts(i,1)+binc
let rgbpts(i,3)=yoff
let rgbpts(i,4)=rgbpts(i,3)+binc
let xoff=xoff+binc+xspace
if i=2 then
let yoff=.61
let xoff=.075+binc+xspace
end if
next i
! ip init
let iptxt$(1)="Alternate Demo"
let iptxt$(2)="Flip Demo"
let iptxt$(3)="About IP"
let iptxt$(4)="Brownian Shift"
let xspace=.2
let xoff=.075+(binc+xspace)/2
let yoff=.31
let u=ubound(ippts,1)
for i=1 to u
let ippts(i,1)=xoff
let ippts(i,2)=ippts(i,1)+binc
let ippts(i,3)=yoff
let ippts(i,4)=ippts(i,3)+binc
let xoff=xoff+binc+xspace
if i=2 then
let yoff=.61
let xoff=.075+(binc+xspace)/2
end if
next i
end sub
end module